﻿//-------------
// <copyright file="IAccountService.cs" company="Uncas">
//     Copyright (c) Ole Lynge Sørensen. All rights reserved.
// </copyright>
//-------------

namespace Uncas.Katas.SimpleMembership.Web.Controllers
{
    /// <summary>
    /// Service for handling account actions.
    /// </summary>
    public interface IAccountService
    {
        /// <summary>
        /// Logs the user off.
        /// </summary>
        void LogOff();

        /// <summary>
        /// Logs the user on.
        /// </summary>
        /// <param name="userName">Name of the user.</param>
        void LogOn(string userName);
    }
}
